package com.mornd.gulimall.common.core.constant;

import lombok.Getter;

/**
 * @author: mornd
 * @dateTime: 2023/8/23 - 10:58
 * 订单状态
 */
public enum OrderStatus {
    CREATE_NEW(0, "待付款"),
    PAYED(1, "已付款"),
    SENDED(2, "已发货"),
    RECIEVED(3, "已完成"),
    CANCLED(4, "已取消"),
    SERVICING(5, "售后中"),
    SERVICED(6, "售后完成");

    @Getter
    private int code;
    @Getter
    private String desc;

    OrderStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
